.class Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoCache$SDCardListener;
.super Ljava/lang/Object;
.source "VideoCache.java"

# interfaces
.implements Lcom/burstly/lib/service/SdCardWatchingService$IWatcherNotificator;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoCache;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "SDCardListener"
.end annotation


# instance fields
.field private final mAppContext:Ljava/lang/ref/WeakReference;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/lang/ref/WeakReference",
            "<",
            "Landroid/content/Context;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method constructor <init>(Landroid/content/Context;)V
    .locals 1
    .parameter "appContext"

    .prologue
    .line 279
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 280
    new-instance v0, Ljava/lang/ref/WeakReference;

    invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V

    iput-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoCache$SDCardListener;->mAppContext:Ljava/lang/ref/WeakReference;

    .line 281
    return-void
.end method


# virtual methods
.method public notifySdCardStateChanged(Z)V
    .locals 1
    .parameter "isUsable"

    .prologue
    .line 285
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoCache$SDCardListener;->mAppContext:Ljava/lang/ref/WeakReference;

    invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/content/Context;

    invoke-static {p1, v0}, Lcom/burstly/lib/component/networkcomponent/burstly/video/VideoCache;->initCacheDir(ZLandroid/content/Context;)V

    .line 286
    return-void
.end method
